#include"shm.hpp"
//服务端创建共享内存并接收消息
int main()
{
    Shm shm;
    shm.Creat();
    shm.Attch();
    while(1)
    {
        shm.Recept_Message();
        sleep(5);
    };
    

    shm.Deatch();
    shm.Remove();

    return 0;
}